<script>
    $("#searchResults").mouseleave(function(){
            removeButtons();
    });
</script>
    |£|foreach key=key from=$data item=item|\£|
        |£|if $key%$maxRow==0|\£|<div class="thumbs_tr" >|£|/if|\£|
            <a href="|£|$url|\£|?p=|£|$item.post_id|\£|"><div vidtitle="|£|$item.title|\£|" onmousemove="appendButtons(this,'vidwiz-thumb|£|$key|\£|');" id="vidwiz-thumb|£|$key|\£|" class="floatl thumbs" style="background-image:url('|£|$item.thumb|replace:".png":"_thumb.png"|\£|');"></div></a>
        |£|if ($key+1)%$maxRow==0|\£|<div class="clr"></div></div>|£|/if|\£|
    |£|/foreach|\£|
<div class="floatl"></div>